﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KayakMes.Common;
using SqlSugar;

namespace KayakMes.ProcessStepUp.Domain.Model
{
    [SugarTable("ProcessStepUp")]
    public class ProcessStepUpModel: BaseEntity
    {
        /// <summary>
        /// 工序编码
        /// </summary>
        
        public string ProcessCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        
        public string ProcessName { get; set; }

        /// <summary>
        /// 是否启用，默认启用
        /// </summary>

        public bool IsEnabled { get; set; } = true;

        /// <summary>
        /// 准备时间(分钟)
        /// </summary>
        
        public decimal PreparationTime { get; set; }

        /// <summary>
        /// 生产时间(分钟)
        /// </summary>
        
        public decimal ProductionTime { get; set; }

        /// <summary>
        /// 工序说明
        /// </summary>
        
        public string ProcessDescription { get; set; }

        /// <summary>
        /// 是否质检
        /// </summary>
        
        public bool IsQualityCheck { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(500)]
        public string Remark { get; set; }
    }
}
